package com.neu.edu.boonpay.dao;

import com.neu.edu.boonpay.pojo.Transactions;
import com.neu.edu.boonpay.pojo.TransactionsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TransactionsMapper {
    long countByExample(TransactionsExample example);

    int deleteByExample(TransactionsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Transactions record);

    int insertSelective(Transactions record);

    List<Transactions> selectByExample(TransactionsExample example);

    Transactions selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Transactions record, @Param("example") TransactionsExample example);

    int updateByExample(@Param("record") Transactions record, @Param("example") TransactionsExample example);

    int updateByPrimaryKeySelective(Transactions record);

    int updateByPrimaryKey(Transactions record);
}